#!/usr/bin/env python
import socket,sys,os
base_dir = os.path.dirname(os.path.dirname(__file__))
sys.path.append(base_dir)
from bin.stools import s_tools

def help():
    print('''
    cmd.run:  Exec instructions
        Param:[groupname] ["instrucion"]
        Eg: solt.py cmd.run webs,mysqls "ip r"
        ''')


def run(gname,cmd):
     s_tools.process_mutl(gname,'ssh_exec',cmd,'')





